package docview;
import tableprocessor.DBColumn;
/**
 *
 * @author gleb
 */
public class SelectedCell
{
    private int row = -1;
    private int col = -1;
    private DBColumn dbColumn;
    private boolean isSelected;
    public SelectedCell(int _row, int _col, DBColumn _dbColumn)
    {
        row = _row;
        col = _col;
        dbColumn = _dbColumn;
        isSelected = false;
    }
    public int getRow(){return row;}
    public void setRow(int _row){row = _row;}
    public int getCol(){return col;}
    public void setCol(int _col){col = _col;}
    public DBColumn getDBColumn(){return dbColumn;}
    public void setDBColumn(DBColumn _dbColumn){dbColumn = _dbColumn;}
    public void setSelection(boolean _isSelected){isSelected = _isSelected;}
    public boolean getSelection(){return isSelected;}
}
